function call_cmd_command ($command)
{
    $cmd = "cmd.exe";
    $command = "/c "+ $command ;
    & $cmd $command;
}

function cleanFolder ($folderPath)
{
    Get-Item ([System.IO.Path]::Combine($folderPath,"*")) | %{Remove-Item $_ -Recurse -Force};
}

function copyFolderToAnother ($srcFolderPath, $tarFolderPath)
{
    $srcFolderPath = [System.IO.Path]::Combine( $srcFolderPath,"*");
    Copy-Item  $srcFolderPath $tarFolderPath -Recurse -Force
}